package code.whmmm.util.http.impl.respimpl;

import com.alibaba.fastjson.JSON;
import code.whmmm.util.http.ResponseHandler;
import code.whmmm.util.http.entity.tyep.KvMap;

/**
 * <p><b>
 *
 * </b></p>
 * <br/>
 *
 * @author Zero
 * @date 2019/8/1 10:51
 */
public class JsonKvMapRespHandler implements ResponseHandler<KvMap> {
    @Override
    public KvMap process(String s) {
        return JSON.parseObject(s, KvMap.class);
    }
}
